package cn.edu.nju.software.postgresqlmanage;

import java.sql.SQLException;
import java.util.ArrayList;

import cn.edu.nju.software.beans.AccountBean;
import cn.edu.nju.software.beans.CidSidBean;
import cn.edu.nju.software.sqlitemanage.ManageZhangHao;

public class Main {
	public static void main(String[] args) throws SQLException, ClassNotFoundException{

		ArrayList<CidSidBean> csbs = new ArrayList<CidSidBean>();
		CidSidBean csb = new CidSidBean("001", "001");
		csbs.add(csb);
		
		//ManageXueshengXueke.chooseCourse(csbs);
		
		ArrayList<AccountBean> abs = new ArrayList<AccountBean>();
		AccountBean ab = new AccountBean("aaa", "aaa", "002");
		abs.add(ab);
		ab = new AccountBean("bbb", "bbb", "003");
		abs.add(ab);
		ab = new AccountBean("ccc", "ccc", "004");
		abs.add(ab);
		
		UsersM.addAccount(abs);
	}
}
